/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.co.ray.jaxwsspring;

import java.util.HashSet;
import java.util.Set;

import javax.jws.WebService;

@WebService(endpointInterface = "za.co.ray.jaxwsspring.AuthService", serviceName = "corporateAuthService")
public class AuthServiceImpl implements AuthService {

    public Employee getEmployee(String gid) {
        Employee emp = new Employee();

        emp.setFirstName("Brett");
        emp.setLastName("Moront");
        Set privs = new HashSet();
        emp.setPrivileges(privs);
        privs.add("Clever Things");
        emp.setGid(gid);


        return emp;
    }
}
